package com.obas.type;

import com.ease.common.enums.EnumUtil;
import com.ease.common.enums.ValuableEnum;

public enum MacAddressType implements ValuableEnum {

	DYNAMIC((short) 1);

	private short value;

	private MacAddressType(short value) {
		this.value = value;
	}

	public static MacAddressType get(short value) {
		return EnumUtil.get(MacAddressType.class, value);
	}

	public static MacAddressType get(String name) {
		return EnumUtil.get(MacAddressType.class, name);
	}

	public String getName() {
		return name();
	}

	public short getValue() {
		return value;
	}

}
